package com.matt.domain.courseV2;

import com.matt.commons.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 发展检核项目
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "tc_develop_review_item")
public class DevelopReviewItem extends Domain implements Serializable {
    private static final long serialVersionUID = 1L;


    @Column(columnDefinition = "varchar(32)   COMMENT '发展核减月ID' ")
    private String developId;

    @Column(columnDefinition = "varchar(255)   COMMENT '项目名称' ")
    private String name;

    @Column(columnDefinition = "int(2)  DEFAULT 0  COMMENT '月龄' ")
    private Integer monthAge;

    @Column(columnDefinition = "varchar(255)   COMMENT '指标' ")
    private String target;

    @Column(columnDefinition = "text   COMMENT '说明' ")
    private String details;

    @Column(columnDefinition = "int(2)  DEFAULT 0  COMMENT '0正常1必须' ")
    private int must;

    @Column(columnDefinition = "int default 0   COMMENT '显示顺序' ")
    private Integer orderNum;

    @Column(columnDefinition = "varchar(32)  COMMENT '创建人'")
    private String createBy;

    @Column(columnDefinition = "varchar(255)  COMMENT '创建人名'")
    private String createdName;
}